-
Notifications
You must be signed in to change notification settings - Fork 696
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
system-variables: improve restricted-read-only docs (#8401) #8406
system-variables: improve restricted-read-only docs (#8401) #8406
Conversation
[REVIEW NOTIFICATION] This pull request has been approved by:
To complete the pull request process, please ask the reviewers in the list to review by filling The full list of commands accepted by this bot can be found here. Reviewer can indicate their review by submitting an approval review. |
/merge |
This pull request has been accepted and is ready to merge. Commit hash: d2a004a
|
This is an automated cherry-pick of #8401
What is changed, added or deleted? (Required)
The docs for
tidb_restricted_read_only
are inconsistent:The type for this variable is a boolean, which in
SHOW VARIABLES
context will showON
orOFF
. InSELECT @@varname
context it will return0
or1
, so for docs context we have to chose one format.It looks like the original PR author chose
0
/1
, but in the rest of the page we useON
/OFF
, which is also consistent with the mysql docs: https://dev.mysql.com/doc/refman/8.0/en/server-system-variables.htmlWhich TiDB version(s) do your changes apply to? (Required)
Tips for choosing the affected version(s):
By default, CHOOSE MASTER ONLY so your changes will be applied to the next TiDB major or minor releases. If your PR involves a product feature behavior change or a compatibility change, CHOOSE THE AFFECTED RELEASE BRANCH(ES) AND MASTER.
For details, see tips for choosing the affected versions.
What is the related PR or file link(s)?
This was added in #7670 (2 days ago)
Do your changes match any of the following descriptions?